home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
CLEARC11.ARJ
/
CLEARC.DOC
< prev
next >
Wrap
Text File
|
1992-05-18
|
7KB
|
171 lines
ClearC V1.1
Invariant Software
P.O. Box 10206
Spokane, WA 99209
509-327-2154 (Greg)
INTRODUCTION
ClearC is intended for C programmers to help make C program files
more legible by spacing operators, function calls and control guards,
and by reformatting the code to a specified style and indentation
preference. ClearC works with ANSI Standard C program files. ClearC
is comprised of the following files:
CLEARC.EXE Executable file.
CLEARC.DOC User manual.
INVOICE.DOC Registration.
CLCSETUP.DAT Data file for format parameters.
READ.ME Brief description and instructions.
SAMPLE.C C program file for testing ClearC.
VERSION 1.1 VERSUS VERSION 1.0:
ClearC version 1.0 had a restriction on the function size in a
module of 20k - the program bombed! Version 1.1 allows a maximum
function size of 60k.
ClearC is SHAREWARE
ClearC is distributed as Shareware. This means that ClearC is
commercial software distributed on a try before you pay basis.
Try ClearC for a couple of weeks, then if you find it useful register
it.
REGISTRATION and BENEFITS
All that is required is a one time registration fee of $30.
For your $30 you will receive telephone support, announcements of
enhancements and future versions of ClearC, and any other Shareware
released by Invariant Software.
INSTALLATION
To make ClearC the most useful, copy the CLEARC.EXE and CLCSETUP.DAT
files to a directory that is pointed to by the PATH statement used
by your DOS. This statement is located in your AUTOEXEC.BAT. ClearC
requires a PC compatible computer and 360K of memory.
USING ClearC
CALLING from DOS
syntax: clearc [drive:][path]filename [*.extension]
Examples:
clearc file1.c {original file overwritten}
clearc c:\src\file1.c
clearc *.c
clearc file1.c *.fmt {formatted file "file1.fmt"}
clearc c:\src\*.c *.fmt
clearc *.c *.e
Note: The file extension option must be of the form "*.XXX". If
the file extension option is not exercised the formatted file
will overwrite the original file.
RESTRICTIONS
All files must be ASCII text files, meet the ANSI Standard for C,
and be syntax-error-free files. If syntax errors exist, a
runtime error may occur; however, your original file will not
be altered.
Program comments are not affected except for positioning. The
following operators are not altered because of double meanings
and cosmetic reasons: '!', '&', '*', '**', '++', '--', '->' and '~'.
All functions within a module must not be larger than 60k bytes
in size or an error message will be displayed and the program is
terminated.
USER INTERFACE
If valid arguments were given the initial screen is displayed
with the default format parameters. The parameters represent your
last use of the program and are saved in CLCSETUP.dat.
The screen is made up of four sections - indentation spaces,
function style selection, control style selection, and character
spacing. All possible key actions are detailed in the box at the
bottom of the screen. Press <Enter> to move from one section to
another, press <Esc> to terminate the program, and press <CTRL-R>
to run formatting.
Indentation spaces: Press '1','2','3',... or '9' to change
indentation.
Function Style and Control Style: Use up and down arrows to select
the desired style.
Spacing: A 'space' character is marked with a '^' underneath and
designates movable characters so that the desired spacing can be
expressed. A 'space' character can be moved to the left (if a
blank space exists to the left) or to the right using the
<backspace> and <space bar> respectively. The cursor is moved
from one 'space' character to another using arrow keys.
DISCLAIMER
Invariant Software disclaims all warranties, expressed or implied,
relating to this product as to the merchantability and/or fitness for
a particular purpose. Invariant Software shall not be liable for
any damages whether they be direct, indirect, special, consequential,
or incidental arising from a failure of this program to operate in
the manner desired by the user. Invariant Software shall not be
liable for any damage to data or property which may be caused directly
or indirectly by the use of this program. THE PERSON USING THIS
SOFTWARE ASSUMES ALL RISK AS TO THE QUALITY AND PERFORMANCE OF THIS
SOFTWARE.
RESPONSIBILITY of USER
This software is copyrighted under the U.S. copyright laws. No
person shall knowingly modify or distribute a modified version of this
software.
Further, it is the responsibility of the user to pay for this
software if they find it useful, and not to use any longer than a
two week evaluation period.
This software is distributed as Shareware and may be freely
distributed among other users within the limits as imposed above.
You are requested to pass this program out for trial use, and under
no circumstances charge a fee other than the cost of a distribution
disk.
If you have any questions regarding ClearC, site licenses or if you
have any suggestions, call 509-327-2154 and ask for Greg.
INVOICE/REGISTRATION for ClearC V1.1
Send to: Invariant Software or GSM
P.O. Box 10206 3117 W. Gordon
Spokane, WA 99209 Spokane, WA 99205
509-327-2154
From:
Name: _____________________________________________
Address: _____________________________________________
City, State
and Zip Code: _____________________________________________
Phone Number: _____________________________________________
( if applicatable )
Company: _____________________________________________
Title: _____________________________________________
Registration and notification of upgrades
and other products .........................$30.00 ea. _______
Washington Residents add 7.8% Sales Tax ($2.34 ea.)... _______
Total Enclosed ....................................... _______
Terms: Check Drawn on U.S. Bank in U.S. Funds,
International Bank or Postal Money Order